﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Import Namespace="iArtis.Extensions" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    ExpertSystem
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="<%= Html.AppPath() %>/Scripts/jquery.timers-1.1.2.js" type="text/javascript"></script>

    <script src="<%= Html.AppPath() %>/Scripts/jquery.easing.1.3.js" type="text/javascript"></script>

    <script src="<%= Html.AppPath() %>/Scripts/jquery.galleryview-1.1.js" type="text/javascript"></script>

    <script type="text/javascript" language="javascript">
        $(document).ready(function() {
            $('#photos').galleryView({
                panel_width: 635,
                panel_height: 400,
                frame_width: 50,
                frame_height: 40,
                transition_speed: 500,
                background_color: '#222',
                border: 'none',
                easing: 'easeInOutBack',
                pause_on_hover: true,
                nav_theme: 'custom',
                overlay_height: 52,
                filmstrip_position: 'top',
                overlay_position: 'top'
            });
        });
    </script>

    <table name="capabality" class="portfolio">
        <tr>
            <td colspan="2">
                <h3>
                    <strong>ExpertSystem</strong>
                </h3>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="desc">
                <h4>
                    <strong>
                        <% if (Html.CurrentLanguageCode() == "ru")
                           { %>
                        Приложение выступает простой реализацией экспертной системы. Предметная область
                        настраиваема. Может применяться для автоматизации диагностики: установка диагноза,
                        развитие логики, учебные задачи. Расширение заключается в использовании нечёткой
                        логики.<br />
                        Приложение обфуцировано, поэтому исходный код получить не удасться =)
                        <% }
                           else
                           { %>
                        The application appears as simple implementation of the expert system. The subject
                        domain is customised. It can be applied to diagnostics automation: diagnosis installation,
                        logic development, educational tasks. The extension consists in fuzzy logic usage.
                        <br />
                        It will not be possible to receive obfuscate application, therefore an initial code
                        =)
                        <% } %>
                    </strong>
                </h4>
            </td>
        </tr>
        <tr>
            <td class="price">
                <h4>
                    <strong>
                        <%= Html.Resource("Services, Price")%>: 20
                        <%= Html.Resource("Services, Currency")%></strong></h4>
            </td>
            <td class="time">
                <h4>
                    <strong>
                        <%= Html.Resource("Services, PerformancePeriod")%>: 2
                        <%= Html.Resource("Services, Days")%></strong></h4>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="link">
                <h4>
                    <%= Html.Resource("Services, Link")%>: <a href="<%= Html.AppPath() + "/Files/ExpertSystem.zip" %>">
                        <%= Html.Resource("Services, Download") %></a>
                    <br />
                    <% if (Html.CurrentLanguageCode() == "ru")
                       { %>
                    * необходим .net Framework 3.5
                    <% }
                       else
                       { %>
                    * it is necessary.net Framework 3.5
                    <% } %>
                </h4>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 500px">
                <div id="gallery_wrap" style="height: 430px">
                    <div id="photos" class="galleryview">
                        <% var dir = new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + "Content\\images\\portfolio\\ExpertSystem");
                           try
                           {
                               foreach (var image in dir.GetFiles())
                               {
                                   string path = Html.AppPath() + "/Content/images/portfolio/ExpertSystem/" + image.Name;%>
                        <div class="panel" style="text-align: center">
                            <img src="<%= path %>" alt="image" width="500" height="400" />
                        </div>
                        <% } %>
                        <ul class="filmstrip">
                            <% foreach (var image in dir.GetFiles())
                               {
                                   string path = Html.AppPath() + "/Content/images/portfolio/ExpertSystem/" + image.Name;%>
                            <li>
                                <img src="<%= path %>" height="40px" width="50px" alt="thumb" />
                            </li>
                            <% } %>
                        </ul>
                        <% }
                           catch { } %>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
